﻿using System;
using System.Collections.Generic;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Web.UI.HtmlControls;
using System.Net;
using System.IO;

namespace AspNetSocialBookmarks
{
    public partial class Bookmarks_v2 : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ViewLinkedin.Attributes["OnMouseOver"] =
            "javascript:EvImageOverChange(this, 'in','" + "/icons/horizontal/linkedin.png" + "');";
            ViewLinkedin.Attributes["OnMouseOut"] =
            "javascript:EvImageOverChange(this, 'out','" + "/icons/horizontal/linkedin.png" + "');";
            
            ViewFacebook.Attributes["OnMouseOver"] =
            "javascript:EvImageOverChange(this, 'in','" + "/icons/horizontal/facebook.png" + "');";
            ViewFacebook.Attributes["OnMouseOut"] =
            "javascript:EvImageOverChange(this, 'out','" + "/icons/horizontal/facebook.png" + "');";


            ViewTwitter.Attributes["OnMouseOver"] =
            "javascript:EvImageOverChange(this, 'in','" + "/icons/horizontal/twitter.png" + "');";
            ViewTwitter.Attributes["OnMouseOut"] =
            "javascript:EvImageOverChange(this, 'out','" + "/icons/horizontal/twitter.png" + "');";

            ViewFlickr.Attributes["OnMouseOver"] =
            "javascript:EvImageOverChange(this, 'in','" + "/icons/horizontal/flickr.png" + "');";
            ViewFlickr.Attributes["OnMouseOut"] =
            "javascript:EvImageOverChange(this, 'out','" + "/icons/horizontal/flickr.png" + "');";

            ViewRss.Attributes["OnMouseOver"] =
                "javascript:EvImageOverChange(this, 'in','" + "/icons/horizontal/rss.png" + "');";
            ViewRss.Attributes["OnMouseOut"] =
            "javascript:EvImageOverChange(this, 'out','" + "/icons/horizontal/rss.png" + "');";
        }
    }
}